//
//  TMMyCourseModel.h
//  国学培训用户端
//
//  Created by Tao Li on 2018/8/18.
//  Copyright © 2018年 mac. All rights reserved.
//

#import <Foundation/Foundation.h>
//课程model。购物车model
@interface TMMyCourseModel : NSObject
@property (nonatomic, assign) NSInteger cid;
@property (nonatomic, copy) NSString *pic;
@property (nonatomic, copy) NSString *name;
@property (nonatomic, copy) NSString *tea_name;
@property (nonatomic, copy) NSString *addr;
@property (nonatomic, strong) NSArray *photo;
@property (nonatomic, assign) NSInteger surplus;
@property (nonatomic, assign) NSInteger status;
@property (nonatomic, assign) float price;
@property (nonatomic, copy) NSString *course;
@property (nonatomic, copy) NSString *teacher;
@property (nonatomic, copy) NSString *type;


@property (nonatomic, copy) NSString *s_time;
@property (nonatomic, assign) NSInteger order_id;
@property (nonatomic, assign) NSInteger bid;
//"id": 1,
//"name": "雅思",
//"price": "1234.00",
//"s_time": null,
//"pic": "http://103.10.85.152//uploads/20180721/5999c165cb647a678badc897127cdfb9.png"
@end


@interface TMMyCartModel : NSObject
@property (nonatomic, assign) NSInteger cid;
@property (nonatomic, assign) NSInteger sid;

@property (nonatomic, assign) NSInteger coid;
@property (nonatomic, assign) double price;
@property (nonatomic, assign) double money;
@property (nonatomic, strong) NSArray *pic;
@property (nonatomic, copy) NSString *name;
@property (nonatomic, copy) NSString *tea_name;
@property (nonatomic, assign) NSInteger num;
@property (nonatomic,assign) NSInteger ret;//0 位退款
@property (nonatomic, copy) NSString *number;
@property (nonatomic, copy) NSString *end_time;
@property (nonatomic, assign) double agio_price;

@property (nonatomic, assign) NSInteger rank;
@property(nonatomic, strong) NSString                     *under;/**< 0代表已经下架 */
@property (nonatomic, assign) double all_money;
@property (nonatomic, assign) double nowMoney;


//"number": "ytr2324234",
//"cid": 1,
//"name": "雅思",
//"price": "1234.00",
//"pic": [
//        "http://103.10.85.152//uploads/20180721/5999c165cb647a678badc897127cdfb9.png"
//        ],
//"end_time": 1525104000
@end
